package com.penghaisoft.microwms.common.data.model;


import com.penghaisoft.microwms.common.BaseEntity;
import com.penghaisoft.microwms.common.util.CommonUtils;

/**
 * @Description 工作区model
 * @author luoteng
 * @date 2017年5月24日 下午3:22:05
 * @version 1.0
 */
public class MdWorkarea extends BaseEntity {

	/**
	 * 工作区主键ID
	 */
	private String workareaId;

	/**
	 * 工作区编码
	 */
	private String workareaCode;

	/**
	 * 工作区名称
	 */
	private String workareaName;

	/**
	 * 仓库编码
	 */
	private String whCode;

	/**
	 * 区域编码
	 */
	private String regionCode;
	
	/**
	 * 工厂
	 */
	private String factoryCode;
	
	
	@Override
	public void preInsert() {
		super.preInsert();
		setWorkareaId(CommonUtils.getUUID());
	}

	public String getWorkareaId() {
		return this.workareaId;
	}

	public void setWorkareaId(String value) {
		this.workareaId = value;
	}

	public String getWorkareaCode() {
		return this.workareaCode;
	}

	public void setWorkareaCode(String value) {
		this.workareaCode = value;
	}

	public String getWorkareaName() {
		return this.workareaName;
	}

	public void setWorkareaName(String value) {
		this.workareaName = value;
	}

	public String getWhCode() {
		return this.whCode;
	}

	public void setWhCode(String value) {
		this.whCode = value;
	}

	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String value) {
		this.regionCode = value;
	}

	public String getFactoryCode() {
		return factoryCode;
	}

	public void setFactoryCode(String factoryCode) {
		this.factoryCode = factoryCode;
	}

}
